public class TestStudent2 {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.setStudentId("2025003"); // 修正为字符串参数
        stu.setName("王五");
        stu.setAge(20);
        stu.setAge(15);
        // 修正字符串拼接语法
        System.out.println("学生信息 : " + stu.getStudentId() + " " + stu.getName() + " " + stu.getAge() + "岁");
    }
}
